package com.time.admin.domain.converter;

import com.time.admin.domain.entity.PostCategoryBO;
import com.time.admin.infra.basic.entity.PostCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 文章分类关联BO转换器
 *
 * @author: HuangQi
 * @date: Created in 11:38 2025/10/15
 * @description: 文章分类关联BO转换器类
 */
@Mapper
public interface PostCategoryBOConverter {

    PostCategoryBOConverter INSTANCE = Mappers.getMapper(PostCategoryBOConverter.class);

    PostCategory convertBOToEntity(PostCategoryBO postCategoryBO);

}
